package beans;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum RegisterStatus {

    REGISTER_SUCCESS("注册成功", 200),
    REGISTER_FAIL("注册失败", 500),
    USER_EXIST("用户名已存在", 500),
    USER_NOT_EXIST("用户不存在", 500);
    private String msg;
    private Integer code;
}
